package lab02.Test22;

import java.util.Scanner;

/**
 * Created by Administrator on 2017/10/31.
 */
public class Text {
    public static void main(String[] args) {
        String result;
        StringBuffer stringBuffer = new StringBuffer();
       Scanner s = new Scanner(System.in);
        result = s.nextLine();
        for (int k = 0; k < result.length();k++) {
            char c = result.charAt(k);
            if (c >= 'A' && c <= 'Z') {
                stringBuffer.append((char) (c + 32));
            }
            else if (c >= 'a' && c <= 'z') {
                stringBuffer.append(c);}
             else if (c >= '0' && c <= '9') {
                stringBuffer.append('0');
            } else stringBuffer.append('#');
        }
        System.out.println("转换后的字符为" + stringBuffer.toString());
    }
}